rm update
[EroBeats.git] / Djinn and Tonic - Erobeats / Trainer.h
blob831ca6cf626d6ff15f7e2760ab22d4ea9d078849
1 #pragma once
2 #include"TrainerTemplate.h"
3 #include "LevelTemplate.h"
4 #include "ScreenTemplate.h"
6 #include "FileIO.h"
7 #include "ResourceMaster.h"
8 #include "Fonts.h"
9 #include "Animation.h"
10 #include "SFX.h"
11 #include "TempoTools.h"
13 #include <chrono>
14 #include <SDL\SDL.h>
15 #include <iomanip>
17 class Trainer : public LevelTemplate
19 public:
20 Trainer();
21 Trainer(int* scrn, FileIO* fileIO, ResourceMaster* resourcePointer, int pattern);
22 ~Trainer();
24 void update();
25 void render();
26 void play();
28 Animation* outlineAnimation;
30 void createText();
31 void destroyText();
32 void loadPattern();
34 int lightNumber;
35 float countDownTime;
36 float countDownDuration;
38 bool light1Switch;
39 bool light2Switch;
40 bool light3Switch;
41 bool light4Switch;
42 bool leftMBSwitch;
43 bool rightMBSwitch;
45 bool start;
46 bool hoverStart;
48 bool next;
49 bool hoverNext;
51 bool perfect;
52 bool behind;
53 bool ahead;
55 int pattern;
57 bool isPattern1_1;
58 bool isPattern1_2;
60 SDL_Texture* goalText;
61 SDL_Texture* subGoalText;
62 SDL_Texture* levelText;
63 SDL_Texture* startText;
64 SDL_Texture* nextText;
65 SDL_Texture* countDownText;
67 SDL_Rect goalRect;
68 SDL_Rect subGoalRect;
69 SDL_Rect levelRect;
70 SDL_Rect startRect;
71 SDL_Rect nextRect;
72 SDL_Rect countDownRect;
74 SDL_Rect aheadRect;
75 SDL_Rect behindRect;
76 SDL_Rect perfectRect;
78 SDL_Rect light1Rect;
79 SDL_Rect light2Rect;
80 SDL_Rect light3Rect;
81 SDL_Rect light4Rect;
83 SDL_Rect mouseRect;
84 SDL_Rect mouseRightRect;
85 SDL_Rect mouseLeftRect;